Learn R Programming

dprop (version 0.1.0)

Gamma distribution: Compute the distributional properties of the gamma distribution

Description

Compute the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the gamma distribution.

Usage

d_gamma(alpha, beta)

Value

d_gamma the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the gamma distribution.

Arguments

alpha

The strictly positive parameter of the gamma distribution (\(\alpha > 0\)).

beta

The strictly positive parameter of the gamma distribution (\(\beta > 0\)).

Author

Muhammad Imran.

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.

Details

The following is the probability density function of the gamma distribution: $$ f(x)=\frac{\beta^{\alpha}}{\Gamma(\alpha)}x^{\alpha-1}e^{-\beta x}, $$ where \(x > 0\), \(\alpha > 0\) and \(\beta > 0\).

References

Burgin, T. A. (1975). The gamma distribution and inventory control. Journal of the Operational Research Society, 26(3), 507-525.

See Also

d_wei, d_naka

Examples

Run this code
d_gamma(2,2)

Run the code above in your browser using DataLab